home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 49
/
Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso
/
Aminet
/
util
/
sys
/
AmberRAM.lha
/
AmberRAM
/
Source
/
Makefile.dice
< prev
next >
Wrap
Makefile
|
2001-02-22
|
725b
|
36 lines
# File: Makefile
MAKEFILE = Makefile
#CC = dcc -3.1 -mD -r -020
CC = dcc -3.1 -mD -r
ASSEMBLER = PhxAss QUIET OPT 3
LINKER = PhxLnk SMALLCODE
#AMIGA_LIB = Work:NDUK-V40/Lib/Amiga.lib
AMIGA_LIB = DLIB:amiga31l.lib
DEBUG_LIB = Work:NDUK-V40/Lib/debug.lib
HANDLER = amber-ram-handler
OBJS = handler.o commands.o filesystem.o notification.o support.o
$(HANDLER): $(OBJS) startup.o
$(LINKER) "startup.o" $(OBJS) "$(AMIGA_LIB)" TO "$(HANDLER)"
Protect "$(HANDLER)" -e
Execute "Dismount" "RAM1:"
Mount "RAM1"
startup.o: startup.asm
$(ASSEMBLER) "startup.asm" NOEXE
$(OBJS): %.o: %.c handler.h handler_protos.h $(MAKEFILE)
$(CC) -DAMIGAOS -c "$*.c"
startup.o $(OBJS): $(MAKEFILE)
clean:
Delete "$(HANDLER)" "#?.o"